﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="GetMetaHome.ascx.cs" Inherits="NLLSite.UserControl.GetMetaHome" %>
<asp:LinqDataSource ID="LinqDataSource1" runat="server" 
    ContextTypeName="DAL_Class.NLLDataContext" 
    Select="new (MetaTitle, MetaDescription, MetaKeywords, MetaRobots, MetaAuthor, Title)" 
    TableName="MyConfigs">
</asp:LinqDataSource>
<asp:ListView ID="ListView1" runat="server" DataSourceID="LinqDataSource1" 
    EnableModelValidation="True">
    
    <EmptyDataTemplate>
        
    </EmptyDataTemplate>
   
    <ItemTemplate>
    <title><%# Eval("Title")%></title>
    <meta name="title" content="<%# Eval("MetaTitle") %>" />
	<meta name="description" content="<%# Eval("MetaDescription") %>" />
	<meta name="keywords" content="<%# Eval("MetaKeywords") %>" />
	
	<meta name="robots" content="<%# Eval("MetaRobots") %>" />
    <meta name="author" content="<%# Eval("MetaAuthor") %>" />
        <%--<span style="">MetaTitle:
        <asp:Label ID="MetaTitleLabel" runat="server" Text='<%# Eval("MetaTitle") %>' />
        <br />
        MetaDescription:
        <asp:Label ID="MetaDescriptionLabel" runat="server" 
            Text='<%# Eval("MetaDescription") %>' />
        <br />
        MetaKeywords:
        <asp:Label ID="MetaKeywordsLabel" runat="server" 
            Text='<%# Eval("MetaKeywords") %>' />
        <br />
        MetaRobots:
        <asp:Label ID="MetaRobotsLabel" runat="server" 
            Text='<%# Eval("MetaRobots") %>' />
        <br />
        MetaAuthor:
        <asp:Label ID="MetaAuthorLabel" runat="server" 
            Text='<%# Eval("MetaAuthor") %>' />
        <br />
        Title:
        <asp:Label ID="TitleLabel" runat="server" Text='<%# Eval("Title") %>' />
        <br />
<br /></span>--%>
    </ItemTemplate>
    <LayoutTemplate>
        <div ID="itemPlaceholderContainer" runat="server" style="">
            <span runat="server" id="itemPlaceholder" />
        </div>
        <div style="">
        </div>
    </LayoutTemplate>
    
</asp:ListView>
